LIBS += -L../../bin
LIBS += -L../../lib

for( module, DEPENDS_SHARED ) {
    INCLUDEPATH += ../../module/$$module
    DEPENDPATH  += ../../module/$$module

    !contains(CONFIG, staticlib) {
        LIBS += -l$$module
    }
}

for( module, DEPENDS_STATIC ) {
    INCLUDEPATH += ../../module/$$module
    DEPENDPATH  += ../../module/$$module

    !contains(CONFIG, staticlib) {
        LIBS += -l$$module

        unix {
            PRE_TARGETDEPS += ../../lib/lib$${module}.a
        }
        win32 {
            contains(QMAKE_CXX, g++){
                PRE_TARGETDEPS += ../../lib/lib$${module}.a
            } else {
                PRE_TARGETDEPS += ../../lib/$${module}.lib
            }
        }
    }
}

RESOURCES +=
